package toro.entity;

import java.util.Vector;

public class User extends Entity{
	
	private Vector<EmailAccount> emailAccounts = new Vector<EmailAccount>();
	private AddressBook addressBook;

	public Vector<EmailAccount> getEmailAccounts()
	{
		return emailAccounts;
	}

	public void setEmailAccounts(Vector<EmailAccount> emailAccounts)
	{
		this.emailAccounts = emailAccounts;
	}
	
	public void addAddressEntry(AddressBookEntry newEntry)
	{
		addressBook.add(newEntry);
	}
	
	
}
